home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global Gingercsend, VanGinger, sound1
- set Gingercsend to 0
- sound stop 1
- sound stop 2
- if not VanGinger then
- GingerSprites(40, 307, 440)
- set VanGinger to 1
- set x to 2
- repeat while x < 25
- set the visible of sprite x to 1
- set x to x + 1
- end repeat
- end if
- if sound1 <> 5 then
- set sound1 to 2
- end if
- end
-
- on enterFrame
- global firstenter, sound1, idlestart, speakagain, VanGinger, Gingercsend, firstmainhall, classfirst, CL, gz_szoveg
- if firstmainhall = 1 then
- set VanGinger to 0
- set Gingercsend to 0
- set the text of field "Hotspotname" to EMPTY
- set sound1 to -1
- set CL to 0
- set firstmainhall to 0
- set firstenter to 0
- set speakagain to 1
- set gz_szoveg to 9
- varj(60)
- puppetSound(1, "Tanarno")
- updateStage()
- else
- if firstenter = 1 then
- set the text of field "Hotspotname" to EMPTY
- set firstenter to 0
- set speakagain to 1
- GingerSprites(40, 307, 440)
- set VanGinger to 1
- set x to 2
- repeat while x < 25
- set the visible of sprite x to 1
- set x to x + 1
- end repeat
- updateStage()
- if CL > 0 then
- GingerAjanl(CL)
- set sound1 to 2
- set CL to 0
- else
- set sound1 to 2
- end if
- updateStage()
- end if
- end if
- if soundBusy(2) then
- set Gingercsend to 0
- end if
- if soundBusy(1) then
- set Gingercsend to 1
- end if
- if not soundBusy(1) and not soundBusy(2) then
- set Gingercsend to 0
- case sound1 of
- (-1):
- set x to 2
- repeat while x < 25
- set the visible of sprite x to 1
- set x to x + 1
- end repeat
- set sound1 to 0
- GingerSprites(40, 307, 440)
- set VanGinger to 1
- puppetSound(1, "gh001")
- updateStage()
- 0:
- puppetSound(1, "gh002")
- updateStage()
- set sound1 to 1
- 1:
- puppetSound(1, "gh003")
- updateStage()
- set sound1 to 2
- 2:
- set idlestart to the timer
- set sound1 to 3
- 3:
- if (the timer - idlestart) > (30 * 60) then
- set sound1 to 1
- end if
- 4:
- puppetSound(1, "gh007")
- updateStage()
- set sound1 to 1
- 5:
- GingerStop()
- go("Zits")
- end case
- end if
- if VanGinger then
- GingerWork(Gingercsend)
- end if
- end
-
- on exitFrame
- global zene, sound1
- set firsthotspot to 2
- set lasthotspot to 15
- set i to firsthotspot
- repeat while not rollOver(i) and (i <= lasthotspot)
- set i to i + 1
- end repeat
- case i of
- 2, 3, 13:
- set hotspot to "Body Odor, Sweat & Smelly Feet"
- set zene to "szag"
- 6, 7:
- set hotspot to "Zits"
- set zene to "pattan"
- 5:
- set hotspot to "Boogers & Snot"
- set zene to "hapci"
- 4:
- set hotspot to "Spit & Saliva"
- set zene to "kop"
- 8:
- set hotspot to "Burps & Belches"
- set zene to "bofog"
- 9:
- set hotspot to "Barf"
- set zene to "hany"
- 10:
- set hotspot to "Poop, Farts & Diarrhea"
- set zene to "fing"
- 11:
- set hotspot to "Pee - Pee"
- set zene to "pisa"
- 12, 14, 15:
- set hotspot to "Scabs & Wounds"
- set zene to "jaj"
- otherwise:
- set hotspot to " "
- set zene to " "
- end case
- if sound1 <> 5 then
- set the text of member "hotspotname" to hotspot
- set the textFont of member "hotspotname" to "Arial"
- set the textAlign of member "hotspotname" to "center"
- set the textStyle of member "hotspotname" to "Bold"
- if hotspot = "ZITS" then
- set the visible of sprite 26 to 1
- set the foreColor of member "hotspotname" to the foreColor of sprite 26
- set the textSize of member "hotspotname" to 18
- else
- if the machineType = 256 then
- set the textSize of member "hotspotname" to 18
- else
- set the textSize of member "hotspotname" to 14
- end if
- set the visible of sprite 26 to 0
- set the foreColor of member "hotspotname" to 255
- end if
- set the text of field "Hotspotname" to the text of member "hotspotname"
- end if
- go(the frame)
- end
-